#ifndef SHIMADZUPROTOCOL_H
#define SHIMADZUPROTOCOL_H

#include "base/baseprotocol.h"
#include "shimadzuprotocoldata.h"
#include "shimadzusendpacket.h"
#include "moduleelectronicscaledefine.h"

// 岛津AUW220D

class ShimadzuProtocol : public BaseProtocol
{
    Q_OBJECT
public:
    ShimadzuProtocol(electronicscale::ElectronicScaleParam &param, QObject *parent = nullptr);
    virtual ~ShimadzuProtocol() override;

    ShimadzuSendPacket *getSender();

protected:
    ShimadzuProtocol(electronicscale::ElectronicScaleParam &param, ShimadzuProtocolData &data, QObject *parent = nullptr);

private:
    electronicscale::ElectronicScaleParam			*m_param = nullptr;
};

#endif // SHIMADZUPROTOCOL_H
